﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using RemoteDownload.Contract;

namespace RemoteDownload.Domain.Model.FileManagerAggregateRoot
{
    public class FileManagerFactory
    {
        public static FileManager GetFilesByFilter(GetDownloadListRequest request)
        {
            return new FileManager().InitializationEntities(FileInfoFactory.GetFilesByFilter(request.Filter, request.StartTime, request.EndTime));
        }
    }
}
